package cn.iocoder.yudao.module.dine.print.service.app;

import cn.iocoder.yudao.framework.business.basic.service.impl.AbstractService;
import cn.iocoder.yudao.module.dine.print.convert.DinePrintConfigConvert;
import cn.iocoder.yudao.module.dine.print.dao.DinePrintConfigMapper;
import cn.iocoder.yudao.module.dine.print.pojo.po.DinePrintConfig;
import cn.iocoder.yudao.module.dine.print.pojo.vo.DinePrintConfigVO;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * 服务
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/08/22
 */
@Service
public class AppDinePrintConfigService extends AbstractService<DinePrintConfig, DinePrintConfigVO> {
    @Resource
    private DinePrintConfigMapper dinePrintConfigMapper;

    @Override
    public DinePrintConfigMapper getInjectedMapper() {
        return dinePrintConfigMapper;
    }

    @Override
    public DinePrintConfigVO convertToViewObject(DinePrintConfig entity) {
        return DinePrintConfigConvert.INSTANCE.toViewObject(entity);
    }

}
